-- GENERATED SPELL FOR [Vault Geist] --


function spell0_29720(pUnit, Event) --@Rip,n/a--
pUnit:FullCastSpellOnTarget(36590,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29720', 15000, 1)
end

function Sorts_29720(pUnit, Event)
local choix_sorts_29720 = math.random(0, 0)
if choix_sorts_29720 == 0 then
pUnit:RegisterEvent('spell0_29720', 1, 1)
end
end

function mob29720_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29720', math.random(1500, 3000), 1)
end

function mob29720_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29720_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29720_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29720, 1, 'mob29720_Action')
RegisterUnitEvent(29720, 2, 'mob29720_Leave')
RegisterUnitEvent(29720, 3, 'mob29720_Kill')
RegisterUnitEvent(29720, 4, 'mob29720_Die')
